package com.example.demo.service.Impl;

import com.example.demo.dao.IClassDao;
import com.example.demo.enity.Class;
import com.example.demo.service.IClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@SuppressWarnings({"all"})
@Service
public class ClassServiceImpl implements IClassService {

    @Autowired
    private IClassDao classDao;

    @Override
    public Class getClass(Integer id) {
        return classDao.getClass(id);
    }

    @Override
    public Class getClass2(Integer id) {
        return classDao.getClass(id);
    }
}
